<?php
include("general_include.php");
include "top.php";
$page_name=basename($_SERVER['SCRIPT_FILENAME']);
$news_id = $_REQUEST['news_id'];
$SelectnewsSQL="SELECT *, date_format(".date_added.",'%M  %d , %Y at %h %p') as n_date FROM ".TABLEPREFIX."_news where news_id='$news_id'";
$NewsArr=$UserManagerObjAjax->GetRecords("Row",$SelectnewsSQL);
	//echo $pagination_arr[0];
$smarty->assign('page_name',$page_name);

$smarty->assign("NewsArr",$NewsArr);
//$smarty->register_modifier("in_array","in_array");

include "left.php";
$smarty->display('newsdetails.tpl');
include "footer.php";
?>